@import "./../../less/var";

.menu-drop-down {

  a {
    &:hover, &:active, &:link {
      text-decoration: none;
    }
    -moz-transition: all 0.2s ease-out 0s;
    -webkit-transition: all 0.2s ease-out 0s;
    transition: all 0.2s ease-out 0s;
  }
  position: relative;
  .menu-label {
    padding: 0 10px;
    &:hover, &.active {
      background: @424f63 !important;
      color: @65cea7 !important;
    }
  }
  ul {

    display: none;
    min-width: 200px;
    position: absolute;
    background: @65cea7;
    &:before {
      content: " ";
      position: absolute;
      top: -20px;
      width: 0px;
      height: 0px;
      border-top: 10px solid rgba(0, 0, 0, 0);
      border-right: 10px solid rgba(0, 0, 0, 0);
      border-bottom: 10px solid #65cea7;
      border-left: 10px solid rgba(0, 0, 0, 0);
      right: 0px;
    }
    li > a {
      color: #FFF;
    }
  }
  &.right {
    ul {
      right: 0;
      border-radius: 2px 0 2px 2px;
      padding: 5px;
      &:before {
        right: 10px;
      }
      a {
        color: #fff;
        font-size: 13px;
        padding: 7px 10px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        border-radius: 2px;
        display: block;
        -moz-transition: all 0.2s ease-out 0s;
        -webkit-transition: all 0.2s ease-out 0s;
        transition: all 0.2s ease-out 0s;
        clear: both;
        font-weight: 400;
        line-height: 1.42857143;
        white-space: nowrap;
        &:hover {
          background: @424f63 !important;
          color: #FFF !important;
        }
      }
    }
  }
  &.open {
    ul {
      display: block;

    }
  }
}

.select-photo {
  a.menu-label {
    display: block;
    padding: 0;
    &:hover {
      background: #FFF;
      color: #333;
    }
    & > span:last-child {
      position: relative;
      top: 10px;
      float: right;
    }
  }
  ul {
    min-width: 260px;
    margin-left: -1px;
    margin-top: 3px;
    background: #FFF;
    &:before {
      content: '';
      display: none;
    }
    &.pic-list li a {

      display: block;
      clear: both;
      font-weight: 400;
      line-height: 1.42857143;
      color: #333;
      white-space: nowrap;
      &:hover {
        background: #424f63;
        color: #FFF;
      }
    }
  }

}
